﻿using Entity.Models.Entities;
using System;
using System.Collections.Generic;
using System.Text;

namespace Entity.Models.vo.Menu
{
    /// <summary>
    /// 数据列表
    /// </summary>
    public class MenuTreetableVo : BaseMenu
    {
        /// <summary>
        /// 排序 
        /// </summary>
        public int Sort { get; set; }

        /// <summary>
        /// 
        /// </summary>
        public string parentId { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public int isMenu { get; set; }

        public MenuTreetableVo(MenuInfo menuInfo)
        {
            Id = menuInfo.Id;
            Title = menuInfo.Title;
            Href = menuInfo.Href;
            Icon = menuInfo.Icon;
            Sort = menuInfo.Sort;
            this.parentId = menuInfo.ParentId;
        }
    }
}
